package com.hedl.practice.diyJava.annotation.definition;

import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Range;

@DefinitionAnnotation
public class Person {

    @Ranges(min = 1,max = 20)
    public String name;

    @Ranges(max = 10)
    public String city;

    public void hello(@NotNull @Range(from = 5,to = 10) String name,@NotNull String prefix){

    }
}
